package com.example.xiao.httpprocessor

import android.app.Application
import com.example.xiao.httpprocessor.HttpProcessor.HttpHelper
import com.example.xiao.httpprocessor.HttpProcessor.OKHttpPrpcessor
import com.example.xiao.httpprocessor.HttpProcessor.VolleyProcessor

class App : Application() {

    override fun onCreate() {
        super.onCreate()
        //初始化网络选择框架
        //HttpHelper.init(VolleyProcessor(this))
        HttpHelper.init(OKHttpPrpcessor())
    }
}